﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 客户VIP表
/// </summary>
public partial class CustomerVip
{
    /// <summary>
    /// VIP记录ID，主键
    /// </summary>
    public string CvId { get; set; } = null!;

    /// <summary>
    /// 记录创建时间
    /// </summary>
    public DateTime? CvCreateTime { get; set; }

    /// <summary>
    /// 客户ID，关联客户表（唯一）
    /// </summary>
    public string CvCustomerId { get; set; } = null!;

    /// <summary>
    /// VIP到期时间（NULL表示永久）
    /// </summary>
    public DateTime? CvExpireTime { get; set; }

    /// <summary>
    /// 成为VIP的时间
    /// </summary>
    public DateTime? CvGetTime { get; set; }

    /// <summary>
    /// 操作员ID，关联员工表
    /// </summary>
    public string? CvOperatorId { get; set; }

    /// <summary>
    /// 当前VIP积分
    /// </summary>
    public decimal? CvPoint { get; set; }

    /// <summary>
    /// VIP备注信息
    /// </summary>
    public string? CvRemark { get; set; }

    /// <summary>
    /// VIP状态：1-正常，2-冻结，3-过期
    /// </summary>
    public int? CvStatus { get; set; }

    /// <summary>
    /// VIP会员编号（唯一）
    /// </summary>
    public string? CvVipcode { get; set; }
}
